package com.dy.drp.service;

import com.dy.drp.dto.ClientCollect;
import com.dy.drp.entity.Saleinfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dy.drp.util.PageUtil;
import com.dy.drp.util.SelectUtil;
import com.dy.drp.vo.SaleinfoVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author dy
 * @since 2022-04-02
 */
public interface ISaleinfoService extends IService<Saleinfo> {
    PageUtil<SaleinfoVo> selectOnePageSaleinfo(PageUtil<SaleinfoVo> pageUtil);

    PageUtil<SaleinfoVo> selectByClientAndTime(SelectUtil selectUtil);

    SaleinfoVo selectOneSaleinfoById(Long saleId);

    PageUtil<ClientCollect> clientCollect(PageUtil<ClientCollect> pageUtil);

    PageUtil<ClientCollect> clientCountByInfo(SelectUtil selectUtil);
}
